package com.feige.base.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feige.base.po.IPersistence;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * @author feige
 */
public interface BaseDao<T extends IPersistence> extends BaseMapper<T> {


    /**
     * 批量插入
     * @param list
     */
    void insertBatch(@Param("list")List<T> list);
    
}
